$OpenBSD: patch-wtf,v 1.3 2015/04/23 13:01:36 bcallah Exp $
--- wtf.orig	Tue Apr 21 19:56:30 2015
+++ wtf	Thu Apr 23 09:00:12 2015
@@ -89,7 +89,7 @@ for i; do
 
 	# Try pkg_info(1) next
 	ans="$(pkg_info -qc "$i" 2> /dev/null)"
-	if [ $? -eq 0 ]; then
+	if [ $? -eq 0 ] && [ x"${ans}" != x ] ; then
 		echo "$i: $ans"
 		continue
 	fi
